//
// Search block
// -----------------------------

.search-result-block {
  .make-row(@grid-gutter-width);
  background-color: #f3f3f3;
  padding: 25px 25px 0;
}

.search-result_menu {
  color: #666;
  display: inline-block;
  font-size: 24px;
  margin-bottom: 15px;
  @media (min-width: @screen-md-min) {
    font-size: 36px;
  }
}

.search-result_query {
  color: @text-color;
  font-weight: bold;
}

.search-result_count {
  font-size: 18px;
  list-style: none;
  margin: 0 0 15px 0;
  padding: 0;
  li {
    display: inline-block;
    margin: 0  0  0 25px;
    span {
      cursor: pointer;
      text-decoration: underline;
      &:hover {
        text-decoration: none;
      }
    }
  }

  @media (min-width: @screen-md-min) {
    float: right;
    margin: 20px 0 0 0;
  }
}

.search-result_navigation {
  .clearfix;
  margin-bottom: 25px;
}

.search-result_navigation_text {
  float: left;
}

.search-result_navmenu {
  list-style: none;
  margin: 0;
  padding: 0;

  li {
    float: left;
    margin-left: 40px;
    margin-bottom: 20px;
    border-bottom: 1px dashed @text-color;
    cursor: pointer;
    position: relative;
    &.active {
      border: none;
      background-color: #494949;
      color: #fff;
      padding: 5px 15px;
      margin-top: -5px;
      text-transform: uppercase;
      &:after {
        content: "";
        width: 0;
        height: 0;
        position: absolute;
        left: 50%;
        margin-left: -5px;
        bottom: -5px;
        border: 5px solid transparent;
        border-top-color: #494949;
        border-bottom: 0;
      }
    }
  }
}
.search-result_items {
  .make-row(@grid-gutter-width);
}
.search-result_items_i_w {
  .make-md-column(3, @grid-gutter-width);
  .make-lg-column(6, @grid-gutter-width);
}
.search-result_items_i {
  min-height: 170px;
  font-size: 12px;
  padding: 10px;
  position: relative;
  margin-bottom: 25px;
  .block-shadow(#fff);

  .profile_info {
    margin-bottom: 10px;
  }
  .profile_info_rate {
    margin-right: 15px;
    margin-bottom: 10px;
     @media (min-width: @screen-md) and (max-width: @screen-lg) {
      position: absolute;
      left: 20px;
      top: 145px;
     }
  }
  &.__notfound {
    background-color: #0082ac;
    color: #fff;
    .box-shadow(none);

    .search-result_item_left img {
      border-color: #2ab3c6;
    }
    .search-result_item_name {
      cursor: default;
      color: #fff;
      display: block;
    }
    .profile_info_link {
      display: inline-block;
       font-size: 18px;
       font-weight: bold;
       color: #fff;
       margin-bottom: 10px;
       text-decoration: underline;
       &:hover {
        color: #fff;
        text-decoration: none;
       }
    }
  }
}

.search-result_item_left {
  .profile_logo(110px);
  float: left;
  text-align: center;
  img {
    border: 2px solid @yellow-color;
    margin-bottom: 10px;
  }
  @media (min-width: @screen-md) and (max-width: @screen-lg) {
    .profile_logo(55px);
  }
}
.search-result_item_right {
  margin-left: 130px;
  @media (min-width: @screen-md) and (max-width: @screen-lg) {
    margin-left: 75px;
  }
}

.search-result_item_fav {
  display: block;
  text-decoration: underline;
  &:hover {
    text-decoration: none;
  }
}
.search-result_item_price {
  .profile_price;
  float: right;
  padding: 5px 15px;
  font-weight: bold;
  font-size: 23px;
  @media (min-width: @screen-md) and (max-width: @screen-lg) {
    position: absolute;
    top: 100px;
    left: 10px;
    font-size: 16px;
  }
}
.search-result_item_name {
  .profile_name;
  font-size: 18px;
  margin-bottom: 10px;
  @media (min-width: @screen-md) and (max-width: @screen-lg) {
    font-size: 16px;
  }
}

.profile_info_status {
  .profile_status;
  font-size: 16px;
  margin-bottom: 10px;
  @media (min-width: @screen-md) and (max-width: @screen-lg) {
    font-size: 14px;
  }
}
